home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
comm2
/
parnet.lha
/
parnet
/
test
/
parmon.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-08
|
464b
|
36 lines
/*
* PARMON.C
*
* Monitor parnet debug junk
*/
#include "defs.h"
void
main(ac, av)
int ac;
char *av[];
{
PubPort *port = (PubPort *)FindPort(PORTNAME);
char buf[32];
buf[0] = 0;
if (port == NULL) {
puts("couldn't find port");
exit(1);
}
for (;;) {
/*
if (strcmp(port->DebugBuf, buf) != 0) {
strcpy(buf, port->DebugBuf);
printf("%s\n", buf);
}
Delay(5L);
*/
printf("%s\n",port->DebugBuf);
Chk_Abort();
}
}